Has anyone successfully got the DWA batch files to work as a Windows service?
I was able to create the service using the sc command, and the proceeded to convert my batch file to an executable so it might be able to run as a Windows service but still can't successfully start the DWA.
I get the following error when I try to start the service:
Could not start the DWA service on the local computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.
Thanks for the posting:
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14477280
http://www-01.ibm.com/support/docview.wss?uid=swg21394655
lsand - Mon Oct 31 13:58:22 EDT 2011 |
|
Re: DWA as a Windows Service kbmurphy - Mon Oct 31 16:22:20 EDT 2011
I can't help you with the error you are getting, but I can tell you that I have successfully deployed the DWA web service. So it is possible.
|
|
Re: DWA as a Windows Service lsand - Mon Oct 31 16:50:36 EDT 2011 kbmurphy - Mon Oct 31 16:22:20 EDT 2011
I can't help you with the error you are getting, but I can tell you that I have successfully deployed the DWA web service. So it is possible.
Would you mind sharing how you did it? Did you use the sc command? Did you have to convert the batch file into an exe file? I set up my batch files how Pierre from this discussion suggested, creating a separate batch file each for the broker, interop, dwa, dcn, and the main batch file that will call each individual piece. I only converted the main batch file to an exe rather than sticking everything into one huge batch file and converting that:
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14477280
|
|
Re: DWA as a Windows Service kbmurphy - Mon Oct 31 18:11:45 EDT 2011 lsand - Mon Oct 31 16:50:36 EDT 2011
Would you mind sharing how you did it? Did you use the sc command? Did you have to convert the batch file into an exe file? I set up my batch files how Pierre from this discussion suggested, creating a separate batch file each for the broker, interop, dwa, dcn, and the main batch file that will call each individual piece. I only converted the main batch file to an exe rather than sticking everything into one huge batch file and converting that:
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14477280
I did not convert my batch files to an exe. My guess is that is where you went wrong. There's likely some problem there. I did use the INSTSRV to make my startup.bat a service. I do not have a shutdown "service". What I do is stop the service and then run the "stop" batch file.
Good luck.
|
|
Re: DWA as a Windows Service lsand - Tue Nov 01 17:17:02 EDT 2011 kbmurphy - Mon Oct 31 18:11:45 EDT 2011
I did not convert my batch files to an exe. My guess is that is where you went wrong. There's likely some problem there. I did use the INSTSRV to make my startup.bat a service. I do not have a shutdown "service". What I do is stop the service and then run the "stop" batch file.
Good luck.
What Windows Server Version are you using?
|
|
Re: DWA as a Windows Service kbmurphy - Tue Nov 01 17:46:32 EDT 2011 lsand - Tue Nov 01 17:17:02 EDT 2011
What Windows Server Version are you using?
2003 Server.
|
|
Re: DWA as a Windows Service llandale - Wed Nov 02 10:56:35 EDT 2011
Our IT dude here did it in a day and here is what he has to say:
https://www-304.ibm.com/support/docview.wss?uid=swg21394655
It uses files available in the Windows 2003 Resource Kit (link is in the doc as well).
Example scripts you can mod are ALSO available on the link (I didn't see those until I had written ours)...
make sure you let them know about that as well.
It also recommends a dedicated user <snip.. to run these processes>....
The hackles on the back of my neck say you should create a dedicated user on the Server who has no rights whatsoever, except those needed to perform the job of running the 3 DWA services. "No rights" would include no internet access, no admin privaleges, no read rights to files except those required, no OLE capability, and bla bla bla I don't yet understand.
|
|
Re: DWA as a Windows Service lsand - Wed Nov 02 11:26:46 EDT 2011 llandale - Wed Nov 02 10:56:35 EDT 2011
Our IT dude here did it in a day and here is what he has to say:
https://www-304.ibm.com/support/docview.wss?uid=swg21394655
It uses files available in the Windows 2003 Resource Kit (link is in the doc as well).
Example scripts you can mod are ALSO available on the link (I didn't see those until I had written ours)...
make sure you let them know about that as well.
It also recommends a dedicated user <snip.. to run these processes>....
The hackles on the back of my neck say you should create a dedicated user on the Server who has no rights whatsoever, except those needed to perform the job of running the 3 DWA services. "No rights" would include no internet access, no admin privaleges, no read rights to files except those required, no OLE capability, and bla bla bla I don't yet understand.
Thanks for the info. I saw that tech memo, unfortunately I'm dealing with Windows 2008 server R2. Maybe I should try to do the workaround the page mentions.
|
|
Re: DWA as a Windows Service Dirk0 - Fri Dec 23 06:14:10 EST 2011 lsand - Wed Nov 02 11:26:46 EDT 2011
Thanks for the info. I saw that tech memo, unfortunately I'm dealing with Windows 2008 server R2. Maybe I should try to do the workaround the page mentions.
Don't know why DOORS developers on IBM are not able to create 'real enterprize' applications, but we use i.e. FireDaemon Pro. It' s easy to install, configure and use (and not too cheap ;-)
Can also start different applications in a sorting order.
We us this for DWA & RQMI (!), because no one will have a active logged user in the system and will start via command line.
Dirk.
|
|